package com.turnengine.client.global.user.command;

import com.javabi.codebuilder.generated.IGeneratedCommand;
import com.turnengine.client.global.command.IGlobalExecutableCommand;
import com.turnengine.client.global.user.bean.IUser;

/**
 * The I Get User By Email.
 */
public interface IGetUserByEmail extends IGeneratedCommand, IGlobalExecutableCommand<IUser>, Comparable<IGetUserByEmail> {

	/**
	 * Returns the login id.
	 * @return the login id.
	 */
	long getLoginId();

	/**
	 * Returns the email.
	 * @return the email.
	 */
	String getEmail();

	/**
	 * Sets the login id.
	 * @param loginId the login id to set.
	 */
	void setLoginId(long loginId);

	/**
	 * Sets the email.
	 * @param email the email to set.
	 */
	void setEmail(String email);
}
